﻿using System;
using Microsoft.SharePoint;
using System.Web.UI;

namespace Eneta.Portal.Controls
{
    public class UsersPromoControl : UserControl
    {
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            if (SPContext.Current.Web.CurrentUser != null)
                this.Visible = false;
        }
    }
}
